package com.ruoyi.project.channel.financialProductConfig.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 金融产品表 financial_product_config
 * 
 * @author CAIN
 * @date 2021-01-09
 */
public class FinancialProductConfig extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 产品ID */
	private Integer productId;
	/** 产品名称 */
	private String productName;
	/** 产品收益率 */
	private BigDecimal productRate;
	/** 产品投资天数 */
	private Integer productInvestDay;
	/** 状态 */
	private String useStatus;

	public void setProductId(Integer productId) 
	{
		this.productId = productId;
	}

	public Integer getProductId() 
	{
		return productId;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setProductRate(BigDecimal productRate)
	{
		this.productRate = productRate;
	}

	public BigDecimal getProductRate()
	{
		return productRate;
	}
	public void setProductInvestDay(Integer productInvestDay) 
	{
		this.productInvestDay = productInvestDay;
	}

	public Integer getProductInvestDay() 
	{
		return productInvestDay;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productRate", getProductRate())
            .append("productInvestDay", getProductInvestDay())
            .append("useStatus", getUseStatus())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
